﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<TVXD23.Web.Models.PressCategoryCpo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Tạo chuyên mục mới
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Tạo chuyên mục mới</h2>
    <%Html.EnableClientValidation(); %>

    <% using (Html.BeginForm())
       {%>
    <div class="editor-label">
        <%: Html.LabelFor(model => model.Title) %>(*)
    </div>
    <div class="editor-field">
        <%: Html.TextBoxFor(model => model.Title) %>
        <%: Html.ValidationMessageFor(model => model.Title) %>
    </div>
    <div class="editor-label">
        <%: Html.LabelFor(model => model.Description) %>
    </div>
    <div class="editor-field">
        <textarea name="Description" class="tinymce"><%:Model.Description %></textarea>
        <%: Html.ValidationMessageFor(model => model.Description) %>
    </div>
    <p>
          <input type="submit" class="form-submit" />
    </p>
    <% } %>
</asp:Content>
